/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.uca.sisbec.decorators;

import org.displaytag.decorator.ColumnDecorator;

/**
 *
 * @author Jorgore
 */
public class AsisReuDecorator implements ColumnDecorator{
    @Override
    public String decorate(Object o) {
        StringBuffer buffer = new StringBuffer(1000);
        return decorateColumn(buffer,String.valueOf(o));
    }

    private String decorateColumn(StringBuffer buffer, String obj) {
        String cod = obj;
        String link = "<a href='Asistencia.jsa?idReunion="+ cod +"&cmd=seleccionarReunion'";  ////////aki m quede
        link += "><img src=\"./images/add.png\" /></a>";
        buffer.append(link);
        return buffer.toString();
    }
}
